package com.gobo.jinghuimall.orders.feign;

import com.gobo.jinghuimall.orders.vo.CartItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient("jinghuimall-cart")
public interface CartFeignService {

    @GetMapping("/getCart/checked")
    @ResponseBody
    List<CartItemVo> getCartByChecked();
}
